﻿using System.Linq;
using Weapp.Data.Entities;

namespace Weapp.Data
{
    public interface IWeappRepository
    {
        bool SaveAll();

        #region SizeCategories
        IQueryable<SizeCategory> GetAllSizeCategories();
        SizeCategory GetSizeCategory(int sizeCategoryId);
        bool Insert(SizeCategory sizeCategory);
        bool Update(SizeCategory originalSizeCategory, SizeCategory sizeCategory);
        bool Delete(int sizeCategoryId);
        #endregion

        #region Characters
        IQueryable<Character> GetAllCharacters();
        Character GetCharacter(int characterId);
        bool Insert(Character character);
        #endregion

        #region Usuario
        bool Insert(UserDnD userDnD);
        #endregion


    }
}
